// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import router from './router'
/*导入user.js进入main中启动时mock模拟数据*/
/*import user from './js/user/user.js'*/

/*导入axios让他全局使用*/
import axios from 'axios'
/* 配置axios的全局基本路径*/
axios.defaults.baseURL="https://www.fastmock.site/mock/f4ccb3ed4088e0acccbb2d238497e7f7/pethome"

// 给vue拓展功能使其拥有axios的功能
Vue.prototype.$http= axios

/* 添加main*/

import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';


Vue.use(ElementUI);





Vue.config.productionTip = false





/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  components: { App },
  template: '<App/>'
})
